package com.xauto.pioneer.appuser.http;

import android.os.Environment;

/**
 *
 * @author: Created by Lemon on 2014年7月2日 下午10:31:20
 * @Description: 常量类
 */
public class Constants {

    public static final String LogTag_XG = "XG_PUSH";

    /** 请求标石*/
    public static final String REQUEST = "REQUEST";
    /** 请求返回标石*/
    public static final String RESULT = "RESULT";
    /** 列表获取的起始位置*/
    public static final int PAGE = 1;
    /** 请求数量*/
    public static final int COUNT = 10;
    /** 地图网点请求数量*/
    public static final int PARK_SITE_COUNT = 20;
    /** 设备类型*/
    public static final String DEVICE_TYPE = "20";

    /** 版本更新 下载类型：更新类型(1-web/2-apk ipa)*/
    public static final String DOWNLOAD_TYPE_WEB = "1";
    /** 版本更新 下载类型：更新类型(1-web/2-apk ipa)*/
    public static final String DOWNLOAD_TYPE_APK = "2";

    /** 认证状态：1-已认证*/
    public static final int AUTH_OK = 1;
    /** 认证状态：0-未认证*/
    public static final int AUTH_NO = 0;

    /** 应用请求key*/
    public static final String SALT_KEY = "poineer_api_nFWn18Wm";
    /** 微信APPID*/
    public static final String WX_APP_ID = "wx501404d63c26ea00";

    /** 地图打点加载*/
    public static final int MARKER_LOADED = 1000;


    /*********************** Intent传递的参数key  **************/

   /** 广播action：支付-支付宝*/
    public static final String RECEIVER_ACTION_ALIPAY = "com.xauto.pioneer.RECEIVER_ACTION_ALIPAY";
   /** 广播action：支付-微信*/
    public static final String RECEIVER_ACTION_WECHAT_PAY = "com.xauto.pioneer.RECEIVER_ACTION_WECHAT_PAY";

   /** 通用提示显示-成功 | 失败*/
    public static final String PROMPT_RESULT = "PROMPT_RESULT";
   /** 通用提示显示-成功*/
    public static final String PROMPT_RESULT_SUCCESS = "PROMPT_RESULT_SUCCESS";
   /** 通用提示显示-失败*/
    public static final String PROMPT_RESULT_FAIL = "PROMPT_RESULT_FAIL";
   /** 通用提示显示-提示警告：蓝色感叹号*/
    public static final String PROMPT_RESULT_NORMAL = "PROMPT_RESULT_NORMAL";
   /** 通用提示显示-提示内容*/
    public static final String PROMPT_CONTENT = "PROMPT_CONTENT";
   /** 通用提示显示-提示页面头部标题*/
    public static final String PROMPT_TITLE = "PROMPT_TITLE";

    /** 数据库存储位置*/
    public static final String FILE_PATH = Environment.getExternalStorageDirectory() + "/pioneer";
    /** 版本更新APK保存路径*/
    public static final String APK_TARGET = Environment.getExternalStorageDirectory().getAbsolutePath() + "/pioneer.apk";
    /** 大图本地路径保存*/
    public static final String IMAGE_TARGET = Environment.getExternalStorageDirectory().getAbsolutePath() + "/pioneerImageCache";

    public static final String KEY_LINK_TYPE = "KEY_LINK_TYPE";
    public static final String KEY_LINK_VALUE = "KEY_LINK_VALUE";

    /** 注册/登录方式：1-手机*/
    public static final String TYPE_REG_LOGIN_MOBILE = "1";
    /** 注册/登录方式：2-邮箱*/
    public static final String TYPE_REG_LOGIN_EMAIL = "2";
    /** 注册/登录方式：3-唯一标识*/
    public static final String TYPE_REG_LOGIN_ONLY_ONE = "3";

    /** 获取accessToken参数*/
    public static final String token_grant_type = "client_credentials";
    /** 获取accessToken参数*/
    public static final String token_client_id = "poineer_android_1486608665";
    /** 获取accessToken参数*/
    public static final String token_client_secret = "WYqMLayUrPUv52SdwDUN35ZKI6sxYvD9";

    /** 排序：1-desc降序*/
    public static final String SORT_DESC = "1";
    /** 排序：2-asc升序*/
    public static final String SORT_ASC = "2";

    /** webView 打开类型：1-关于喔耶  请求类型(1-关于我们/2-加入我们/3-用户协议/4-联系我们)*/
    public static final String WEB_TYPE_ABOUT_OYE = "1";
    /** webView 打开类型：2-加入喔耶*/
    public static final String WEB_TYPE_JOIN_OYE = "2";
    /** webView 打开类型：3-用户协议*/
    public static final String WEB_TYPE_USER_AGREEMENT = "3";
    /** webView 打开类型：4-联系我们*/
    public static final String WEB_TYPE_CONTACT_US = "4";
    /** webView 打开类型：5-信用金服务协议*/
    public static final String WEB_TYPE_DEPOSIT = "5";


    //(1-头像/2-身份证照/3-手持身份证照/4-驾照/11-车辆订单损伤图片/12-车辆订单还车图片/13-车辆加油图片
    /** 图片上传类型：1-头像*/
    public static final String IMAGE_TYPE_AVATAR = "1";
    /** 图片上传类型：2-身份证照*/
    public static final String IMAGE_TYPE_ID_NUM = "2";
    /** 图片上传类型：3-手持身份证*/
    public static final String IMAGE_TYPE_HAND_ID = "3";
    /** 图片上传类型：4-驾照*/
    public static final String IMAGE_TYPE_DRIVER_ID = "4";
    /** 图片上传类型：11-车辆订单损伤照片*/
    public static final String IMAGE_TYPE_DAMAGE_ID = "11";
    /** 图片上传类型：12-车辆订单还车照片*/
    public static final String IMAGE_TYPE_RETURN_ID = "12";
    /** 图片上传类型：13-车辆加油图片*/
    public static final String IMAGE_TYPE_REFUL = "13";
    /**图片上传类型：14-预定车辆*/
    public static final String IMAGE_ORDER_BEFORE = "18";
    /**图片上传类型：15-订单运行中异常*/
    public static final String IMAGE_ORDER_FEEDBACK = "19";
    /** 修改用户信息类型：5-会员名*/
    public static final String EDIT_TYPE_MEMBER_NAME = "5";
    /** 修改用户信息类型：6-手机号*/
    public static final String EDIT_TYPE_MOBILE = "6";

    /** 推送状态*/
    public static final String KEY_PUSH_STATUS = "KEY_PUSH_STATUS";
    /** 推送开*/
    public static final String PUSH_ON = "push_open";
    /** 推送关*/
    public static final String PUSH_OFF = "push_close";


	/*********************** 存储本地的key字段  **************/
    /** access_token*/
    public static final String KEY_ACCESS_TOKEN = "KEY_ACCESS_TOKEN";
    /** access_token time*/
    public static final String KEY_ACCESS_TOKEN_TIME = "KEY_ACCESS_TOKEN_TIME";
    /** access_token有效期*/
    public static final String KEY_EXPIRES_IN= "KEY_EXPIRES_IN";
    /** token*/
    public static final String KEY_TOKEN = "KEY_TOKEN";
    /** memberId*/
    public static final String KEY_MEMBER_ID = "KEY_MEMBER_ID";
    /** memberAdd*/
    public static final String KEY_MEMBER_ADD = "KEY_MEMBER_ADD";
    /** device_token*/
    public static final String KEY_DEVICE_TOKEN = "KEY_DEVICE_TOKEN";
    /** member*/
    public static final String KEY_MEMBER_OBJECT = "KEY_MEMBER_OBJECT";
    /** member*/
    public static final String KEY_MEMBER_ACCOUNT_OBJECT = "KEY_MEMBER_ACCOUNT_OBJECT";
    /** region list*/
    public static final String KEY_REGION_LIST_OBJECT = "KEY_REGION_LIST_OBJECT";
    /** signature*/
    public static final String KEY_SIGNATURE = "KEY_SIGNATURE";
    /** avatar*/
    public static final String KEY_AVATAR = "KEY_AVATAR";
    /** member_group_id*/
    public static final String KEY_MEMBER_GROUP_ID = "KEY_MEMBER_GROUP_ID";
   /** */
   public static final String KEY_SITE_CAR = "KEY_SITE_CAR";
   /** member_group_id*/
   public static final String KEY_CAR_ORDER_INFO = "KEY_CAR_ORDER_INFO";

  /** 是否开始用车*/
  public static final String KEY_START_USE_CAR = "KEY_START_USE_CAR";

	/*********************** Intent传递的标示  **************/
    /** 请求关闭当前页*/
	public static final int REQUEST_CLOSE_PAGE = 1000;
    /** 请求关闭当前页*/
	public static final int RESULT_CLOSE_PAGE = 1001;


    /** 账号操作：添加账户*/
    public static final int REQUEST_ACCOUNT_ADD = 4000;

    /** 父分类ID*/
    public static final String CATEGORY_ID = "CATEGORY_ID";
    /** 父分类名称*/
    public static final String CATEGORY_NAME = "CATEGORY_NAME";
    /** 类型*/
    public static final String TYPE = "TYPE";
    /** 用户协议ID*/
    public static final String PROTOCOL_ID = "PROTOCOL_ID";
    /** 个人信息*/
    public static final String MEMBER = "MEMBER";
    /** 手机号*/
    public static final String MOBILE = "MOBILE";
    /** 邮箱*/
    public static final String EMAIL = "EMAIL";
    /** 大图片链接*/
    public static final String BIG_IMAGE_SOURCE = "BIG_IMAGE_SOURCE";
    /** 大图片链接集合*/
    public static final String BIG_IMAGE_SOURCE_LIST = "BIG_IMAGE_SOURCE_LIST";

    /** 修改类型：真实姓名*/
    public static final int EDIT_REALNAME = 0;
    /** 修改类型：会员姓名*/
    public static final int EDIT_MEEMBERNAME = 1;
    /** 修改类型：性别*/
    public static final int EDIT_SEX = 2;
    /** 修改类型：居住地*/
    public static final int EDIT_ADDRESS = 3;
    /** 修改类型：行业*/
    public static final int EDIT_INDUSTRY = 4;
    /** 修改类型：星座*/
    public static final int EDIT_ASTRO = 5;
    /** 修改类型：血型*/
    public static final int EDIT_BLOOD = 6;
    /** 修改类型：身份认证*/
    public static final int EDIT_ID_NUM_AUTH = 7;
    /** 修改类型：企业三证*/
    public static final int EDIT_COMPANY_AUTH = 8;
    /** 修改类型：默认角色*/
    public static final int EDIT_DEFAULT_ROLE = 10;
    /** 修改类型：手机号*/
    public static final int EDIT_MOBILE = 8;
    /** 修改类型：邮箱*/
    public static final int EDIT_EMAIL = 9;

    /** member_group*/
    public static final String MEMBER_GROUP = "MEMBER_GROUP";
    /** 留言信息*/
    public static final String LEAVE_MEESAGE = "LEAVE_MEESAGE";
    /** 修该个人信息成功*/
    public static final int RESULT_EDIT_SUCCESS = 3000;
    /** 修该个人信息*/
    public static final int REQUEST_EDIT = 3001;

    /** webView 传递链接*/
    public static final String WEB_URL = "WEB_URL";

    /** 体现方式：账户列表数据*/
    public static final String ACCOUNT_LIST = "ACCOUNT_LIST";
    /** 技能列表*/
    public static final String SKILL_LIST = "SKILL_LIST";

    /** 编辑账户的类型：1-支付宝，2-银联*/
    public static final String ACCOUNT_EDIT_TYPE = "ACCOUNT_EDIT_TYPE";
    /** 账号ID*/
    public static final String ACCOUNT_ID = "ACCOUNT_ID";
    /** 账号名称*/
    public static final String ACCOUNT_NAME = "ACCOUNT_NAME";
    /** 账号*/
    public static final String ACCOUNT_NUMBER = "ACCOUNT_NUMBER";
    /** 账号-银联－银行ID*/
    public static final String ACCOUNT_BANK_ID = "ACCOUNT_BANK_ID";

    /** 支付类型：支付宝*/
    public static final String PAY_TYPE_ALIPAY = "app-alipay";
    /** 支付类型：微信支付*/
    public static final String PAY_TYPE_WECHAT = "app-weixinpay";
    /** 支付类型：银联*/
    public static final String PAY_TYPE_UNIONPAY= "unionpay";

    /** 是否是微信支付返回*/
    public static boolean IS_WX_PAY = false;
    /** 微信支付返回的CODE*/
    public static String WX_PAY_RESULTCODE = "-1";


    /*****************************   标石类   *********************************/
    /** 匹配手机号码*/
    public static final int MATCHER_MOBILE = 1;
    /** 匹配邮箱*/
    public static final int MATCHER_EMAIL = 2;
    /** 匹配昵称*/
    public static final int MATCHER_NICKNAME = 3;

    /** 性别:(1-男)*/
    public static final String SEX_MAN = "1";
    /** 性别:(2-女)*/
    public static final String SEX_MWOMAN = "2";
    /** 性别:(0-未知)*/
    public static final String SEX_WHAT = "0";


    /*****************************   错误代码   *********************************/
    /** VHouse账户已经激活，不能重复激活*/
    public static final int VHOUSE_REPEAT_LOGIN = 2031;

    public static final int  SHARE_IMAGE_URL = 100;

 public static final int MAX_SELECT_NUM = 9;
    //-------------------微信支付
    public static final String APP_ID = "wx501404d63c26ea00";

    public static final String MCH_ID = "1472955002";

    public static final  String API_KEY= "051af1e98726669537935d58eae11ea8";

}



